<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>BabyOS: b_xm128.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="2.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">BabyOS
   &#160;<span id="projectnumber">V1.1.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','Search');
});
/* @license-end */</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_b9223522bb56aee4ab59f7ba381d2163.html">bos</a></li><li class="navelem"><a class="el" href="dir_f2a2cc749b6bfcea90db6730434b0bd6.html">core</a></li><li class="navelem"><a class="el" href="dir_37b66dfbfdffce01c33ebea49c49c2c3.html">inc</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">b_xm128.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="b__config_8h_source.html">b_config.h</a>&quot;</code><br />
</div>
<p><a href="b__xm128_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structb_xmodem128_info__t.html">bXmodem128Info_t</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:gae18ee26e2806d368ce3917495a1eea35"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___x_m_o_d_e_m128___exported___defines.html#gae18ee26e2806d368ce3917495a1eea35">XMODEM128_SOH</a>&#160;&#160;&#160;0x01</td></tr>
<tr class="separator:gae18ee26e2806d368ce3917495a1eea35"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga58c8c951dd64e2ac3c55e9349161e83f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___x_m_o_d_e_m128___exported___defines.html#ga58c8c951dd64e2ac3c55e9349161e83f">XMODEM128_EOT</a>&#160;&#160;&#160;0x04</td></tr>
<tr class="separator:ga58c8c951dd64e2ac3c55e9349161e83f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga91186b9eed76278e60d5e89afe433170"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___x_m_o_d_e_m128___exported___defines.html#ga91186b9eed76278e60d5e89afe433170">XMODEM128_ACK</a>&#160;&#160;&#160;0x06</td></tr>
<tr class="separator:ga91186b9eed76278e60d5e89afe433170"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae9837d569d0f7301f6127cbd40565109"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___x_m_o_d_e_m128___exported___defines.html#gae9837d569d0f7301f6127cbd40565109">XMODEM128_NAK</a>&#160;&#160;&#160;0x15</td></tr>
<tr class="separator:gae9837d569d0f7301f6127cbd40565109"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacad3b5a81a9ab07952ae6352f4c1f5e8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___x_m_o_d_e_m128___exported___defines.html#gacad3b5a81a9ab07952ae6352f4c1f5e8">XMODEM128_CAN</a>&#160;&#160;&#160;0x18</td></tr>
<tr class="separator:gacad3b5a81a9ab07952ae6352f4c1f5e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:ga1189ecafb71f5108788e9d2e7ac5e7f3"><td class="memItemLeft" align="right" valign="top">typedef void(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___x_m_o_d_e_m128___exported___types_definitions.html#ga1189ecafb71f5108788e9d2e7ac5e7f3">pcb_t</a>) (uint8_t number, uint8_t *pbuf)</td></tr>
<tr class="separator:ga1189ecafb71f5108788e9d2e7ac5e7f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad6ebbc53d3047463033cb2b686f40d66"><td class="memItemLeft" align="right" valign="top">typedef void(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___x_m_o_d_e_m128___exported___types_definitions.html#gad6ebbc53d3047463033cb2b686f40d66">psend</a>) (uint8_t cmd)</td></tr>
<tr class="separator:gad6ebbc53d3047463033cb2b686f40d66"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga75c122d0178d1616612a6d8e053ab3f4"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___x_m_o_d_e_m128___exported___functions.html#ga75c122d0178d1616612a6d8e053ab3f4">bXmodem128Init</a> (<a class="el" href="group___x_m_o_d_e_m128___exported___types_definitions.html#ga1189ecafb71f5108788e9d2e7ac5e7f3">pcb_t</a> fcb, <a class="el" href="group___x_m_o_d_e_m128___exported___types_definitions.html#gad6ebbc53d3047463033cb2b686f40d66">psend</a> fs)</td></tr>
<tr class="separator:ga75c122d0178d1616612a6d8e053ab3f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga22d59aa816e006be041442488ea8539c"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___x_m_o_d_e_m128___exported___functions.html#ga22d59aa816e006be041442488ea8539c">bXmodem128Parse</a> (uint8_t *pbuf, uint8_t len)</td></tr>
<tr class="separator:ga22d59aa816e006be041442488ea8539c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2999eae8ddb0eead2907b9e031e8f0cd"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___x_m_o_d_e_m128___exported___functions.html#ga2999eae8ddb0eead2907b9e031e8f0cd">bXmodem128Start</a> (void)</td></tr>
<tr class="separator:ga2999eae8ddb0eead2907b9e031e8f0cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga09d8f1bd999f46b6c639fca0b651c08d"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___x_m_o_d_e_m128___exported___functions.html#ga09d8f1bd999f46b6c639fca0b651c08d">bXmodem128Stop</a> (void)</td></tr>
<tr class="separator:ga09d8f1bd999f46b6c639fca0b651c08d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>!</p>
<dl class="section version"><dt>Version</dt><dd>v0.0.1 </dd></dl>
<dl class="section date"><dt>Date</dt><dd>2020/02/03 </dd></dl>
<dl class="section author"><dt>Author</dt><dd>Bean(<a href="#" onclick="location.href='mai'+'lto:'+'not'+'ry'+'noh'+'ig'+'h@o'+'ut'+'loo'+'k.'+'com'; return false;">notry<span style="display: none;">.nosp@m.</span>nohi<span style="display: none;">.nosp@m.</span>gh@ou<span style="display: none;">.nosp@m.</span>tloo<span style="display: none;">.nosp@m.</span>k.com</a>)</dd></dl>
<dl class="section attention"><dt>Attention</dt><dd></dd></dl>
<p>Copyright (c) 2020 Bean</p>
<p>Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:</p>
<p>The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.</p>
<p>THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. </p>

<p class="definition">Definition in file <a class="el" href="b__xm128_8h_source.html">b_xm128.h</a>.</p>
</div></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
